import service from '@/utils/request'
import * as T from './types'

const loginApi: T.ILoginApi = {
  login(params) {
    return service.post('/login', params)
  },
}
export default loginApi
